package com.xssn.fjnd;


import com.spring4all.swagger.EnableSwagger2Doc;
import com.xssn.util.properties.XssnOssProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient // 开启 Nacos 服务注册发现
@EnableSwagger2Doc
@MapperScan("com.xssn.fjnd.content.mapper")
@EnableConfigurationProperties({XssnOssProperties.class})
@SpringBootApplication
public class ContentApplication {
    public static void main(String[] args) {
        SpringApplication.run(ContentApplication.class, args);
    }
}
